home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19981211-19990422 / 000352_news@watsun.cc.columbia.edu _Sun Mar 14 00:45:02 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@watsun.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id AAA26394
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Sun, 14 Mar 1999 00:44:58 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id AAA09722
  7.     for kermit.misc@watsun.cc.columbia.edu; Sun, 14 Mar 1999 00:15:19 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: paul@tc.fluke.com (Paul Lutt)
  10. Subject: Problem with K95 Alarm Problem
  11. Date: 9 Mar 1999 07:44:34 -0800
  12. Organization: Fluke Corporation, Everett, WA
  13. Message-ID: <7c3fl2$oq2$1@roslyn.tc.fluke.com>
  14. To: kermit.misc@watsun.cc.columbia.edu
  15.  
  16. I would like to use K95 kermit on NT to log some info to a file and
  17. periodically rollover the log file every night.  I put together a script
  18. that opens a session log, sets an alarm for 00:05:00 and then loops,
  19. waiting for input.  The script is shown below.
  20.  
  21. My problem is that the alarm never seems to trigger.  I've tried
  22. changing the alarm time to something an hour or so ahead of when I start
  23. the script and that works OK.  However, I have not been able to get the
  24. alarm to trigger with the 00:05:00 setting.
  25.  
  26. I am running version 1.1.17 of K95.  I notice that there is a bug fix in
  27. an earlier version of K95 for alarm problems at midnight, but that fix
  28. should be in the version I'm using.
  29.  
  30. Any ideas why this isn't working?
  31. --
  32. Paul Lutt
  33. Fluke Corporation
  34. (425) 356-5059
  35. paul@tc.fluke.com
  36.  
  37.  
  38. ;
  39. ; logger.ksc - log com2 data to a file
  40. ;
  41. set port com2
  42. if fail end 1 SET PORT failed
  43. set speed 9600
  44. set parity none
  45. set flow none
  46. while true {
  47.     log session c:/kermit/\v(ndate) append
  48.     set alarm 00:05:00
  49.     while not alarm {
  50.     input 10 \13
  51.     if failure end 1
  52.     }
  53.     close session
  54. }